// 视光产品基本信息 / 医院视光产品目录
.essential-information {
  .ei-card.ant-card-bordered {
    border: 0;
  }

  .ei-right-card.ant-card-small>.ant-card-body {
    padding-right: 6px;
    padding-bottom: 0;
  }

  .ei-right-card.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra,
  .ei-right-alias-card.ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra {
    padding: 2px 0;
  }

  .ei-right-card-content {
    overflow: auto;
    padding-right: 6px;
    padding-bottom: 12px;
  }

  .ei-right-card-footer {
    width: 100%;
    padding-right: 6px;
    box-sizing: border-box;
  }

  .ei-right-card-footer-content {
    height: 56px;
    border-top: 1px solid #e8e8e8;
  }
}

// 医院视光产品目录
.essential-information-hosp {

  .ei-left-card.ant-card-small>.ant-card-body {
    padding: 0;
  }

  .eih-tabs .ant-tabs-bar {
    margin: 0;
  }

  .eih-left-header {
    padding: 12px;
  }

  .eih-table {
    padding: 12px;
  }

  .eih-tabs-btn {
    position: absolute;
    right: 12px;
    top: 0;
    height: 44px;
    line-height: 44px;
  }

  .elh-table-no-editable td {
    color: rgba(255, 0, 0, 0.5);
  }
}

// 制单公共样式
.voucher-preparation {
  .ant-row.ant-form-item {
    margin-bottom: 4px;
  }

  .voucher-preparation-operation {
    padding: 5px 0 0 64px;

    &>.ant-row {
      margin-bottom: 12px;
    }
  }

  .ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra {
    padding: 2px 0;
  }

  .voucher-preparation-right-card {
    &>.ant-card>.ant-card-body {
      padding-right: 6px;
      position: relative;
    }

    .voucher-preparation-right-card-content {
      padding: 0 6px 42px 0;
      overflow: auto;
      box-sizing: border-box;
    }

    .voucher-preparation-right-footer {
      position: absolute;
      bottom: 2px;
      height: 42px;
      left: 0;
      width: 100%;
      border-top: 1px solid #e8e8e8;
      background: #fff;
      z-index: 100;
    }
  }

  .ant-table.ant-table-bordered .ant-table-title {
    padding: 8px 12px;
  }

  .voucher-preparation-statistics {
    .voucher-preparation-statistics-span {
      color: #fa8c17;
    }
  }
}

// 制单明细组件
.voucher-preparation-details {
  .vp-details-content {
    width: 100%;
  }

  .vp-details-left,
  .vp-details-right {
    transition: all .3s;
  }

  .ant-card-small>.ant-card-head>.ant-card-head-wrapper>.ant-card-extra {
    padding: 0;
  }

  .vp-details-amt {
    margin-left: 32px;
    color: #999;

    &>span {
      color: #ff3d00;
    }
  }
}

// 辅助制单
.order-of-glasses-modal {
  .formRequired:after {
    top: 4px;
  }
}

// 库存查询
.product-inventory-inquiry {
  .pii-input-label {
    width: 70;
    text-align: center;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.85);
  }
}